package com.zoro.jianyue.widgets;

import android.content.Context;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.zoro.jianyue.libs.progress.CircularProgressBar;
import com.zoro.jianyue.libs.pla.PLAAbsListView;
import com.zoro.jianyue.libs.pla.PLAMultiColumnListView;

/**
 * Created by CM-ZR on 2016/1/28.
 */
public class PLALoadMoreListView extends PLAMultiColumnListView implements PLAAbsListView.OnScrollListener{

    private OnScrollListener mOnScrollListener;
    private LayoutInflater mInflater;

    //footer view
    private RelativeLayout mFooterView;
    private TextView mLabLoadMore;
    private CircularProgressBar mProgressBarLoadMore;
    public PLALoadMoreListView(Context context) {
        super(context);
        init(context);
    }

    public PLALoadMoreListView(Context context, AttributeSet attrs) {
        super(context, attrs);
        init(context);
    }

    public PLALoadMoreListView(Context context, AttributeSet attrs, int defStyle) {
        super(context, attrs, defStyle);
        init(context);
    }

    private void init(Context context) {

    }

    @Override
    public void onScrollStateChanged(PLAAbsListView view, int scrollState) {

    }

    @Override
    public void onScroll(PLAAbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCount) {

    }
}
